// UeDbSpecTP.h: interface for the UeDbSpecTP class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UEDBSPECTP_H__DAFB1051_D34B_4FFF_A455_B7A042CC1B1C__INCLUDED_)
#define AFX_UEDBSPECTP_H__DAFB1051_D34B_4FFF_A455_B7A042CC1B1C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "UeDataRow.h"
#include "UeDbSpecIndex.h"

class UeDbSpecTP : public UeDataRow  
{
	DECLARE_DYNAMIC(UeDbSpecTP)

public:
	UeDbSpecTP(const UeDbSpecIndex* pSpecIndex);
	virtual ~UeDbSpecTP();

	inline DOUBLE getPress() const {return m_dbPress;}
	
	inline VOID setPress(DOUBLE dbPress){m_dbPress = dbPress;}

	inline DOUBLE getTemperatureMin() const {return m_dbTemperatureMin;}
	inline DOUBLE getTemperatureMax() const {return m_dbTemperatureMax;}

	inline VOID setTemperatureMin(DOUBLE dbTemperatureMin){m_dbTemperatureMin = dbTemperatureMin;}
	inline VOID setTemperatureMax(DOUBLE dbTemperatureMax){m_dbTemperatureMax = dbTemperatureMax;}

private:
	const UeDbSpecIndex* m_pSpecIndex;

	DOUBLE m_dbTemperatureMin;
	DOUBLE m_dbTemperatureMax;
	DOUBLE m_dbPress;
};

#endif // !defined(AFX_UEDBSPECTP_H__DAFB1051_D34B_4FFF_A455_B7A042CC1B1C__INCLUDED_)
